/* pages/service/voice.wxss */
.root {
  width: calc(97% - -2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 15rpx;
}
.container {
  background-color: #f5f5f5;
}

.loading{
  width: 100%;
  text-align: center;
}
.sv {
  /* background-color: white; */
  width: 100%;
  /* height: 80vh; */
}
 
.sendBar {
  width: 100%;
  height: 38px;
  position: fixed;
  bottom: 0rpx;
  /* right: 0rpx; */
  margin: 0 auto;
  border: none;
  z-index: 1000;
  /* border: 2px solid #1E90FF; */
  background-color: #fff;
  padding-top: 8px;
  padding-bottom: 4px;
}
 
.sendBar-footer {
  width: 100%;
  /* height: 100vh; */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
 
.input {
  background-color: #efefef;
  border: 1px solid #efefef;
  height: 30px;
  width: 210px;
  border-radius: 7%;
  margin-left: 10px;
}
 
.box-item {
  width: 100%;
  margin-bottom: 50px;
}
 
.box {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: 2px;
  margin-bottom: 10px;
}
 
.item {
  /* background-color: white; */
  width: 100%;
  min-height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
 
.mineText {
  font-size: 12px;
  color: white;
}
 
.himText {
  font-size: 12px;
  color: white;
}
 
.adText {
  position: absolute;
  margin: auto;
  right: 20px;
}
 
.button {
  /* background-color: #9380eb; */
  width: 60px;
  height: 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-left: 10rpx;
  color: #a6a6a6;
}
 
.buttonText {
  font-size: 14px;
  color: white;
}
 
.mineAvatorSrc {
  height: 45px;
  width: 45px;
  position: relative;
  margin-left: 20rpx;
  border-radius: 50%;
}
 
.himAvatorSrc {
  height: 45px;
  width: 45px;
  position: relative;
  right: 20rpx;
  border-radius: 50%;
}
 
.mineTextBox {
  background-color: #9380eb;
  max-width: 50%;
  border-radius: 15rpx;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 0px;
  padding-bottom: 5px;
  margin: auto;
  margin-left: 15rpx;
  display: block;
  text-overflow: ellipsis;
  word-wrap: break-word;
}
 
.himTextBox {
  background-color: #9380eb;
  max-width: 50%;
  border-radius: 15rpx;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 0px;
  padding-bottom: 5px;
  margin: auto;
  margin-right: 35rpx;
  display: block;
  text-overflow: ellipsis;
  word-wrap: break-word;
}
 
/* 常用语 */
.button-term {
  background-color: #9380eb;
  width: 60px;
  height: 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  /* margin-right: 23px; */
  border-radius: 7%;
}
 
.data-mess {
  /* background-color: #8f939c; */
  text-align: center;
  max-width: 50%;
  border-radius: 15rpx;
  color: #b8b6ad;
  margin: auto;
  display: block;
  text-overflow: ellipsis;
  word-wrap: break-word;
  margin-top: 5px;
  font-size: 14px;
}
 
.iconfont {
  font-family: "iconfont" !important;
  font-size: 27px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
.chat-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7f7f7;
  position: relative;
}
 
.chat-list {
  flex: 1;
  padding: 20rpx;
  padding-bottom: 112rpx;
  box-sizing: border-box;
  height: 100%;
  position: relative;
}
 
.time-info {
  text-align: center;
  padding: 10rpx;
  font-size: 24rpx;
  color: #999;
}
 
.message-list {
  padding: 20rpx 0;
}
 
.message-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30rpx;
}
 
.message-item.mine {
  flex-direction: row-reverse;
}
 
.avatar {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  margin: 0 20rpx;
}
 
.message-bubble {
  max-width: 60%;
  padding: 20rpx;
  border-radius: 10rpx;
  font-size: 28rpx;
  line-height: 1.4;
  word-break: break-all;
}
 
.mine-bubble {
  background: #95EC69;
}
 
.other-bubble {
  background: #fff;
}
 
.input-area {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 20rpx;
  border-top: 1rpx solid #eee;
  display: flex;
  align-items: center;
  z-index: 100;
}
 
.message-input {
  flex: 1;
  height: 72rpx;
  background: #f7f7f7;
  border-radius: 36rpx;
  padding: 18rpx;
  font-size: 28rpx;
  box-sizing: border-box;
  max-lines: 4;
}
 
.send-btn {
  width: 120rpx;
  height: 72rpx;
  line-height: 72rpx;
  text-align: center;
  background: #07c160;
  color: #fff;
  border-radius: 36rpx;
  margin-left: 20rpx;
  font-size: 28rpx;
}
 
.loading {
  text-align: center;
  padding: 20rpx 0;
  color: #999;
  font-size: 24rpx;
}

.btn {
  margin: 30rpx;
  border: 2rpx solid #ddd;
  background-color: white;
  font-size: 32rpx;
  font-weight: normal;
}
.press label {
  color: #179b16;
}
.press {
  background-color: #ddd;
}